package com.invest.quartz.task;

import com.invest.common.utils.spring.SpringUtils;
import com.invest.task.jsl.CbDataJsl;
import com.invest.task.jsl.CbDatail;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.io.IOException;

/**
 * 可转债定时任务 *
 *
 * @author yuch
 */
@Slf4j
@Component
public class CbTask {



    public void updateJslCBData() throws IOException {
        SpringUtils.getBean(CbDataJsl.class).startJsl();
        SpringUtils.getBean(CbDatail.class).start();
    }





}
